-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Do not verify lengths in propWithModel
#91
Conversation
5b3cf68
to
4a3dfbf
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lgtm modulo some small remarks.
Please remember to make an issue for the maximum number of consecutive stalls.
smallInt :: H.Range Int | ||
smallInt = Range.linear 0 10 | ||
|
||
genSmallInt :: H.Gen Int | ||
genSmallInt = | ||
Gen.frequency | ||
[ (90, Gen.integral smallInt) | ||
, (10, Gen.constant (Range.lowerBound 99 smallInt)) | ||
] | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Consecutive stalling up to only 10 cycles is a very low default.
This should be configurable or derived from configuration? Could you make an issue and point to it here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added! #98
The input length is not always equal to the output length, nor even predictable. Furthermore, some properties might not be interested in the length in the first place. Fixes #81
The input length is not always equal to the output length, nor even predictable. Furthermore, some properties might not be interested in the length in the first place.
Fixes #81